from datetime import datetime


def driver_path():
	return r'D:\ProgramData\Anaconda2\envs\test\chromedriver.exe'


def base_url():
	return "http://10.1.120.180:9003/hip-portal/"


def get_currenttime():
	format = "%a %b %d %H:%M:%S %Y"
	return datetime.now().strftime(format)


def time_diff(starttime, endtime):
	format = "%a %b %d %H:%M%S %Y"
	return datetime.strftime(endtime, format) - datetime.strftime(starttime, format)